// src/router/index.ts
import { createRouter, createWebHistory } from 'vue-router';
import Auth from '../views/Auth.vue';
import Home from '../views/Home.vue';

const routes = [
  {
    path: '/',
    name: 'Auth',
    component: Auth
  },
  {
    path: '/Home',
    name: 'Home',
    component: Home
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;